//
//  main.m
//  day-demo4分类
//
//  Created by Maggie on 15/8/1.
//  Copyright (c) 2015年 fmning. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"
#import "User+Valid.h"
#import "NSString+Extend.h"

int main(int argc, const char * argv[]) {

    User *u = [[User alloc]init];
    [u login];
    [u sendMessage:@"hello"]
    ;
    
    NSString *tel = @"1234567";
    if ([tel isAllDigit]) {
        NSLog(@"Yes!");
    }
    else{
        NSLog(@"NO");
    }
    
    return 0;
}




